#ifndef UART_H
#define UART_H

#include "hc32f4xx_conf.h"
#include "hc32_ll_usart.h"
#include "hc32_ll.h"

void usart1Send(uint8_t* data,uint32_t size);
void usart3Send(uint8_t* data,uint32_t size);
uint32_t Debug_Uart_SendDataPoll(uint8_t u8Data);


static void USART3_RxError_IrqCallback(void);
 
static void USART1_RxError_IrqCallback(void);
 
 
static void USART_RxFull_IrqCallback(void);
static void USART3_RxFull_IrqCallback(void);

static void INTC_IrqInstalHandler(const stc_irq_signin_config_t *pstcConfig, uint32_t u32Priority);
#endif	

